<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div th:fragment="copy">
    <h2>商品分类</h2>
    <dl th:each="bigs : ${session.cateMap['bigs']}">
        <dt th:text="${bigs.epcName}">图书音像</dt>
        <dd th:each="smalls :${session.cateMap['smalls']}" th:if="${bigs.epcId==smalls.epcParentId}">
            <a th:text="${smalls.epcName}" th:href="@{/product_category/detail(epcId=${smalls.epcId})}">图书</a>
        </dd>
    </dl>
</div>

</body>
</html>